package com.ytc.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ytc.commons.model.dto.ApproveDto;
import com.ytc.commons.model.dto.CompanyDto;
import com.ytc.commons.model.dto.PageRequest;
import com.ytc.commons.model.vo.CompanyVo;
import com.ytc.commons.model.vo.ResponseResult;
import com.ytc.system.domain.Company;

import java.util.List;

public interface CompanyService extends IService<Company> {
    //查询企业集合
    ResponseResult listCompany(PageRequest request,CompanyDto dto);

    //机构入驻
    void savedto(CompanyDto companyDto);
    //根据id查询机构信息
    ResponseResult<Company> findCompanyById(String undefined);

    //机构审核
    ResponseResult savecompany(ApproveDto approveDto);
}
